#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>

typedef struct MyCircularQueue
{
	int* a;
	int head;
	int tail;
	int k;
}MyCircularQueue;

MyCircularQueue* MyCircularQueueCreate(int k);
bool MyCircularQueueIsEmpty(MyCircularQueue* obj);
bool MyCircularQueueIsFull(MyCircularQueue* obj);
bool MyCircularQueueEn(MyCircularQueue* obj, int x);
bool MyCircularQueueDe(MyCircularQueue* obj, int x);
int MyCircularQueueFront(MyCircularQueue* obj);
int MyCircularQueueBack(MyCircularQueue* obj);
void MyCircularQueueDestrot(MyCircularQueue* obj);